package com.app.bimo.commonbusiness.util;

public class Constant {
    // APP_ID 替换为你的应用从官方网站申请到的合法appId
    public static final String APP_ID = "wx9f2bfb821c1bd52d";
    public static final String APK_NAME = "bimo";


    /**
     * 保存用户选择的偏好性别
     */
    public static final String USER_PRE_SEX = "user_select_sex";
    /*
     * 保存用户是否从首页点击过偏好设置
     * 点击过一次以后不再展示
     */
    public static final String USER_PRE_SETTING = "USER_PRE_SETTING";

    public static final String SearchKey = "searchKey";
    public static final String PUCLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDp8an6Cvsor6UhtCYYdKTp96i4\n" +
            "xZ6sSDBc8dYb9O12wsXHvLJxQgr1CxBH/HBZo1m/tV/9pwljScAVUAdfPEyL1YOs\n" +
            "NVjjTwHNLEN9L602j3MOu/Yx0cu19l8YW8lpSHSe3yIiiHZqAZDO6UKqBGXFc4WG\n" +
            "bhCaz6NCiXwZjAP/UwIDAQAB\n";


    /**
     * http请求头部key
     */
    public static final String HttpPhoneMEI = "client-device";
    public static final String HttpAppVer = "client-version";
    public static final String HttpPhoneBrand = "client-brand";
    public static final String HttpPhoneSource = "client-source";
    public static final String HttpToken = "client-token";
    /**
     * 用户真实登录 （判断 如果是用户真实登录时候 不进行设备登录）
     */
    public static final String isRealLogin = "isRealLogin";
    //加密串(全局通用)：579b581ca6da502cbc70b4999f092ec7
    public static final String sign = "579b581ca6da502cbc70b4999f092ec7";

    public static final int WECHAT_LOGIN = 3;
    public static final int QQ_LOGIN = 2;
    public static final int SINA_LOGIN = 1;
    public static final int PHONE_LOGIN = 4;
    //设备登录（幽灵账号）
    public static final int DEVICES_LOGIN = 5;
    //最后一次登录的手机号码
    public static final String LAST_LOGIN_PHONE_LOGIN = "lastloginphonenum";
    //记住上次登录方式
    public static final String LOGIN_TYPE = "LOGIN_TYPE";

    public static final int MAN = 1;//性别男
    public static final int WOMAN = 2;//性别女
    public static final int SECRECY = 3;//性别保密

    /**
     * 控制登录页面登录成功后  是消失 还是跳转到该去的页面
     * 退出  修改数据  都用此标志  通知个人首页更新userData
     */
    public static final String ChangeUserData = "ChangeUserData";
    public static final String LoginPreference = "LoginPageGoTo";


    /**
     * 跳转到书城的哪一个模块
     */
    public static final String goToPageStyle = "goToPageStyle";
    public static final String pageStyle_free = "free";
    public static final String pageStyle_men = "men";
    public static final String pageStyle_women = "women";
    public static final String pageStyle_vip = "vip";
    public static final String pageStyle_recommen = "recommen";

    /**
     * 判断首页是否进了偏好设置
     */
//    public static final String isGotoPreference = "isGotoPreference";

    public static final String PreferenceHaveTop = "PreferenceHaveTop";
    public static final String isRegister = "isRegister";
    /**
     * 登录成功  通知发现页面获取奖励
     */
    public static final String isLoginSucess = "isLoginSucess";

    public static final String PayWx = "wechatPay";
    public static final String PayAli = "aliPay";


    /**
     * 微信支付状态  用于微信支付成功后  返回页面调用用户数据刷新   vip充值页面
     */
    public static final String wxPayStatus = "wxPayStatus";


    public static final String BundleNovelid = "Novelid";
    public static final String BundleIsSearch = "isSearch";
    public static final String BundleBoolean = "downLoad";
    public static final String BundleBooleanAddToBookrack = "addtobookRack";
    public static final String BundleChapterInt = "chapterInt";
    public static final String BundleChapterIntHave = "chapterIntHave";
    public static final String BundleChapterId = "chapterId";
    public static final String BundleAuthorName= "authorName";
    public static final String UUID= "uuid";



    public static final String BundleAuthorId= "authorId";
    public static final String BundleChapterName = "chapterName";
    //加入书架
    public static final String BundleAddToBookRack = "AddToBookRack";
    public static final String BundleData = "NovelData";
    //用于多个页面进入同一个页面  此页面返回时候带参数处理
    public static final String BundlePageName = "pagename";
    public static final String BundlePageType = "pageType";
    public static final String BundleChannel = "channel";


    public static final String BundleModuleName = "moduleName";
    public static final String BundleModuleId = "moduleid";
    public static final String BundleType = "type";
    /**
     * 最后一次书评
     */
    public static final String LastComment = "lastComment";
    public static final String LastCommentTitle = "lastCommentTitle";


    public static final String BundleUrl = "url";
    /**
     * 记住返回时候需不需要弹出提示弹窗
     */
    public static final String IgnoreAddBookRack = "IgnoreAddBookRack";

    /**
     * 版本号
     */
    public static final String version = "version";
    public static final String red_version = "red_version";


    /**
     * 保存书架的排列方式
     */
    public static final String BOOKSELF_ARRANGMENT_MODE = "arangement_mode";
    public static final String GOTOBOOKSELF = "GOTOBOOKSELF";
    public static final int BOOKSELF_GRID = 1;
    public static final int BOOKSELF_LIN = 0;

    public static final String chooseLoginType = "chooseLoginType";
    /**
     * 第一次进行偏好设置
     */
    public static final String isFirstSettingPreferences = "isFirstSettingPreferences";
    public static final String readBundle = "readBundle";

    /**
     * 渠道
     */
    public static final String fromChannel = "fromChannel";
    public static final String fromChannelUsed = "fromChannelUsed";
    public static final String fromPfUsed = "fromPfUsed";
    public static final String isUsedNovelId = "isUsedNovelId";
    /**
     * 剪贴板是否为空
     */
    public static final String ClipboardIsEmpty = "ClipboardIsEmpty";


    public static final String getshareRewardTime = "shareReward";

    /**
     * 是否进行过阻塞型的偏好设置
     * 进入偏好设置页面  并且不允许返回
     */
    public static final String settingPreNotAllowBack = "settingPreNotAllowBack";
    /**
     * 是否设置成功过偏好设置
     */
    public static final String settingPreSucess = "settingPreSucess";


    public static final String isDevicesLoginSucess = "isDevicesLoginSucess";

    /**
     * 上一个页面
     */
    public static final String LastPage = "LastPage";
    /**
     * 登录之前的页面
     */
    public static final String LastLoginPage = "LastLoginPage";
    /**
     * 是否是第二次启动app  如果是  并且app没有开启通知权限 弹出提示，引导用户去开启权限设置
     */
    public static final String isSecondOpenApp = "isSecondOpenApp";

    /**
     * 阅读页面免责声明是否展开
     */
    public static final String ReadBottomisExpland = "ReadBottomisExpland";

    public static final String adTime = "AdTime";

    public static final String APiUrl = "APiUrl";

    /**
     * 跳转到评论页面是否需要弹窗
     */
    public static final String ShowEditPop = "ShowEditPop";

    /**
     * vip开通成功返回阅读页
     */
    public static final String IsVip = "IsVip";


}
